<?php

class Bootstrap extends Zend_Application_Bootstrap_Bootstrap
{

	protected function  _initAutoload(){
		$autoload = Zend_Loader_Autoloader::getInstance();
		$autoload->registerNamespace('CMS_');
		
		$resourceLoader = new  Zend_Loader_Autoloader_Resource(array(
					'basePath' => APPLICATION_PATH,
					'namespace' => '',
					'resourceTypes' => array(
						'form' => array(
							'path'=> 'forms/',
							'namespace'=>'Form_'),
						'model'=> array(
							'path'=> 'models/',
							'namespace'=>'Model_'),
					)
			));
			
			return $autoload;
	}

}

